home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
lib
/
python2.4
/
encodings
/
johab.pyc
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2005-10-18
|
1KB
|
39 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.4)
import _codecs_kr
import codecs
codec = _codecs_kr.getcodec('johab')
class Codec(codecs.Codec):
encode = codec.encode
decode = codec.decode
class StreamReader(Codec, codecs.StreamReader):
def __init__(self, stream, errors = 'strict'):
codecs.StreamReader.__init__(self, stream, errors)
_StreamReader__codec = codec.StreamReader(stream, errors)
self.read = _StreamReader__codec.read
self.readline = _StreamReader__codec.readline
self.readlines = _StreamReader__codec.readlines
self.reset = _StreamReader__codec.reset
class StreamWriter(Codec, codecs.StreamWriter):
def __init__(self, stream, errors = 'strict'):
codecs.StreamWriter.__init__(self, stream, errors)
_StreamWriter__codec = codec.StreamWriter(stream, errors)
self.write = _StreamWriter__codec.write
self.writelines = _StreamWriter__codec.writelines
self.reset = _StreamWriter__codec.reset
def getregentry():
return (codec.encode, codec.decode, StreamReader, StreamWriter)